package com.as.server;

import org.osgi.service.component.ComponentContext;

import com.as.measurement.server.service.ServerService;

public class GWTServiceActivator implements GWTService{
	
	ServerService _qos=null; 
	
	
	protected void activate(ComponentContext context) {
		_qos = (ServerService) context.locateService("QoS");
		GWTServiceComponent.getInstance().setQoSService(_qos);
		System.out.println("activado el servicio de GWT");
	}
	protected void deactivate(ComponentContext context) {
		System.out.println("desactivado el servicio de GWT");
	}

}
